home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / include / user / RCS / sched.h,v < prev    next >
Encoding:
Text File  |  1992-07-17  |  1.5 KB  |  62 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  srv030:1.1 srv027:1.1 srv026:1.1 srv024:1.1 srv021:1.1 srv019:1.1 srv018:1.1 srv016:1.1 srv014:1.1 srv010:1.1 srv008:1.1 srv007:1.1 srv006:1.1 srv005:1.1 srv004:1.1 srv003:1.1;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     92.04.29.22.34.20;  author kupfer;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @Instrumentation about system load, etc.
  17. @
  18.  
  19.  
  20.  
  21. 1.1
  22. log
  23. @Initial revision
  24. @
  25. text
  26. @/*
  27.  * sched.h --
  28.  *
  29.  *    Instrumentation about system load, etc.  This header file contains 
  30.  *    the remains of the native Sprite kernel/sched.h.
  31.  *
  32.  * Copyright 1992 Regents of the University of California
  33.  * Permission to use, copy, modify, and distribute this
  34.  * software and its documentation for any purpose and without
  35.  * fee is hereby granted, provided that this copyright
  36.  * notice appears in all copies.  The University of California
  37.  * makes no representations about the suitability of this
  38.  * software for any purpose.  It is provided "as is" without
  39.  * express or implied warranty.
  40.  *
  41.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.8 92/03/02 15:32:57 bmiller Exp $ SPRITE (Berkeley)
  42.  */
  43.  
  44. #ifndef _SCHED
  45. #define _SCHED
  46.  
  47. #include <spriteTime.h>
  48.  
  49. #define MACH_NUM_LOAD_VALUES    3
  50.  
  51. /* 
  52.  * System instrumentation returned by the Sys_Stats SYS_SCHED_STATS call.
  53.  */
  54.  
  55. typedef struct {
  56.     double avenrun[MACH_NUM_LOAD_VALUES]; /* load average from Mach */
  57.     Time noUserInput;        /* time since last console input */
  58. } Sched_Instrument;
  59.  
  60. #endif /* _SCHED */
  61. @
  62.